/////////////////////////////////////////////////////////////////////////
//
// Amuse Engine SDK - core/system/io/streams
// Copyright (c) 2014.  All Rights Reserved
//
// File:		AEDiskFileInStream.cpp
// Author:		Gianluca Belardelli
// Date:		08/10/2014
//
/////////////////////////////////////////////////////////////////////////
#include <AECore.h>

AEDiskFileInStream::AEDiskFileInStream( AEFileHandle &fhHandle, AEFileSystemI *lpFileSystem ) : AEFileInStreamI( lpFileSystem ),
	m_ui64FilePos( 0 ),
	m_ui64FileSize( 0xFFFFFFFFFFFFFFFF ),
	m_lpFileName( 0L ),
	m_fhFileHandle( fhHandle )
{
}

AEINT64 AEDiskFileInStream::GetPos( void )
{
	return m_ui64FilePos;
}

const char *AEDiskFileInStream::GetFileName( void )
{
	return m_lpFileName;
}

void AEDiskFileInStream::SetFileSystem( AEFileSystemI *lpFileSystem )
{
	m_spFileSystem = lpFileSystem;
}
